package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Label;
import com.baizhi.springboot.entity.Schedule;

import java.util.List;

public interface ScheduleDao {
    List<Label> selectScheduleByPage(Integer offset, Integer limit);

    Integer selectCount();

    void insertSchedule(Schedule schedule);

    void deleteSchedule(Integer id);

    void updateSchedule(Schedule schedule);

    Schedule selectOneSchedule(Integer id);
}
